/*
 * Copyright © 2016 Cask Data, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

@import '~styles/variables.scss';

$success-bg-color: $green-02;

.market-entity-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;

  .action-container {
    .step {
      font-size: 16px;
      margin-bottom: 5px;
      .tag {
        display: inline-block;
        padding: 0.25em 0.4em;
        font-size: 75%;
        font-weight: 700;
        line-height: 1;
        color: #ffffff;
        text-align: center;
        white-space: nowrap;
        vertical-align: baseline;
        border-radius: 0.25rem;
        background: #777777;
        &.completed {
          background-color: $success-bg-color;
        }
      }
      .tag-pill {
        padding-right: 0.6em;
        padding-left: 0.6em;
        border-radius: 10rem;
      }
    }
    .action {
      display: inline-block;
      width: 115px;
      margin: 0 10px;
      padding: 0;
      font-weight: 500;
      cursor: pointer;
      height: 100%;

      .action-image {
        width: 100px;
        height: 100px;
        background-color: grey;
      }
      .action-icon {
        background-color: #dddddd;
      }
      .action-description {
        min-height: 40px;
        background-color: #eeeeee;
        font-size: 11px;
        padding: 2px 4px;
        overflow: hidden;
        word-wrap: break-word;
        height: calc(100% - 100px);
      }
      svg {
        &[class*="icon-"] {
          height: 30px;
          width: 30px;
          margin: 5px 0;
        }
      }
      .btn {
        font-weight: 500;
        color: #666666;
      }
    }
  }
}
